From: Sebastian Keller Date: Wed, 22 May 2024 00:04:53 +0000 (+0200) Subject: style: Shift dash running indicator dot up a pixel in high contrast mode X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~125 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e2adc5a4453ad535d6fc676ddf33862be669b7b7;p=gnome-shell.git style: Shift dash running indicator dot up a pixel in high contrast mode With the dot now being placed correctly at the bottom of the hover highlight it is now also overlapping the 1px inset shadow used as outline in high contrast mode. To avoid this, shift the dot up accordingly. Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss index d73f9cada..ef9e121c4 100644 --- a/data/theme/gnome-shell-sass/widgets/_dash.scss +++ b/data/theme/gnome-shell-sass/widgets/_dash.scss @@ -71,7 +71,11 @@ $dash_spacing: $base_margin * 0.5; // running app dot .app-grid-running-dot { // manually position the dot within the dash item - offset-y: -$dash_padding; + @if $contrast == 'high' { + offset-y: -$dash_padding - 1px; // don't draw dot directly on inset + } @else { + offset-y: -$dash_padding; + } } }